package com.young.springdemo.service.builderFactory;

public class HeroActorBuilder extends ActorBuilder {
    @Override
    void buildAge() {
        actor.setAge("30");
    }

    @Override
    void buildName() {
        actor.setName("我是英雄");
    }

    @Override
    void buildHairStyle() {
        actor.setHairStyle("我有英雄头发");
    }

    @Override
    void buildFace() {
        actor.setFace("英雄脸庞");
    }

    @Override
    void buildSex() {
        actor.setSex("男");
    }
}
